How can I convert a string representation of a list to a dictionary in Python

welcome to shbcf.ru